﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Prueba.Model
{
    public class ColFdvIndexer
    {
        public Dictionary<string, ColFdv> _cols;

        public ColFdv this[string Key]
        {
            get
            {
                return this._cols[Key];
            }
            set
            {
                if (this._cols.ContainsKey(Key))
                {
                    //Pendiente validar cuando cambia de valor
                }
                else
                {
                    this._cols.Add(Key, value); 
                }
            }
        }

        public ColFdvIndexer()
        {
            this._cols = new Dictionary<string, ColFdv>();
        }
    }
}
